From 14a11c6d69fea066a56cec0ce2702580ef86a9f1 Mon Sep 17 00:00:00 2001 From: justbur Date: Fri, 11 Dec 2015 15:29:59 -0500 Subject: [PATCH] Ignore evil-state bindings These are the fake keys that evil uses to store maps under --- which-key.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/which-key.el b/which-key.el index 5986ae6af7c..09cc404b7a3 100644 --- a/which-key.el +++ b/which-key.el @@ -1310,7 +1310,7 @@ alists. Returns a list (key separator description)." (let ((key-str-qt (regexp-quote (key-description which-key--current-prefix))) (buffer (current-buffer)) (ignore-bindings '("self-insert-command" "ignore" "ignore-event" "company-ignore")) - (ignore-keys-regexp "mouse-\\|wheel-\\|remap\\|drag-\\|scroll-bar\\|select-window\\|switch-frame") + (ignore-keys-regexp "mouse-\\|wheel-\\|remap\\|drag-\\|scroll-bar\\|select-window\\|switch-frame\\|-state") (ignore-sections-regexp "\\(Key translations\\|Function key map translations\\|Input decoding map translations\\)")) (with-temp-buffer (let ((indent-tabs-mode t)) -- 2.30.2